{if $media }

<div class="cntMedia">
<table width="100%">
<tr valign="top">
    {if $title }
        <td>
            {include file="stddecor.form.open.tpl" }
            <strong>{$title|escape}</strong>
            {include file="stddecor.form.close.tpl" }
        </td>
    {else}
        <td>&nbsp;</td>
    {/if}

    <td width="660">
        <div class="cntMediaItems cntMediaItems_{$media.media_group_id|escape}">

        {foreach from=$media.items item=media_item name=list }
            {include file="media/manager.item.tpl" mode=item data=$media_item }
        {/foreach}

        {if $media.form }
            {include file="media/manager.item.tpl" mode=form data=$media.form }
        {/if}

        </div>
        <br class="clear" />
    </td>

    {if ! $title }
        <td>&nbsp;</td>
    {/if}
</tr>
</table>
</div>
{/if}
